﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PPIDesktopClient.Entities;
using PPIDesktopClient.Interface;

namespace PPIDesktopClient.Presenter
{




    public class PoleEditorPresenter
    {
        private IVisitEditor m_View;
        public PoleEditorPresenter(IVisitEditor view)
        {
            m_View = view;
            Initialize();
        }

        #region Events
        void m_View_OnSave(object sender, EventArgs e)
        {
            Save();
        }

        void m_View_OnLoad(object sender, EventArgs e)
        {
            Load();
        }

        #endregion

        private void Initialize()
        {
            //m_View.OnLoad += new EventHandler<EventArgs>(m_View_OnLoad);
            //m_View.OnSave += new EventHandler<EventArgs>(m_View_OnSave);

        }
        private void Load()
        {
            //if(m_View.Visit.Id != Int32.MinValue)
            //    m_View.LoadData();

        }
        private void Save()
        {

        }
    }
}
